From 7568d17a1507de88cbaa6264bacf825c0ff60350 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 31 Oct 2015 21:02:36 -0400 Subject: [PATCH] toolpalette: Use element names Give the GtkToolPalette and GtkToolItemGroup the element names toolpalette and toolitemgroup. --- gtk/gtktoolitemgroup.c | 6 ++++++ gtk/gtktoolpalette.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/gtk/gtktoolitemgroup.c b/gtk/gtktoolitemgroup.c index 1b734b55b7..7d362b2b6a 100644 --- a/gtk/gtktoolitemgroup.c +++ b/gtk/gtktoolitemgroup.c @@ -48,6 +48,10 @@ * #GtkToolItems to a palette like container with different * categories and drag and drop support. * + * # CSS nodes + * + * GtkToolItemGroup has a single CSS node named toolitemgroup. + * * Since: 2.20 */ @@ -1684,6 +1688,8 @@ gtk_tool_item_group_class_init (GtkToolItemGroupClass *cls) G_MAXINT, 0, GTK_PARAM_READWRITE)); + + gtk_widget_class_set_css_name (wclass, "toolitemgroup"); } /** diff --git a/gtk/gtktoolpalette.c b/gtk/gtktoolpalette.c index 82e76375da..c51fb0b24c 100644 --- a/gtk/gtktoolpalette.c +++ b/gtk/gtktoolpalette.c @@ -109,6 +109,10 @@ * GDK_ACTION_COPY); * ]| * + * # CSS nodes + * + * GtkToolPalette has a single CSS node named toolpalette. + * * Since: 2.20 */ @@ -1024,6 +1028,8 @@ gtk_tool_palette_class_init (GtkToolPaletteClass *cls) P_("Whether the item group should receive extra space when the palette grows"), DEFAULT_CHILD_EXPAND, GTK_PARAM_READWRITE)); + + gtk_widget_class_set_css_name (wclass, "toolpalette"); } /** -- 2.30.2